package com.trip.back.stage.system.service;

import java.util.List;

import com.trip.back.stage.common.result.JsonResult;
import com.trip.back.stage.common.result.PageResult;
import com.trip.back.stage.system.entity.SysRole;

public interface RoleService {

	PageResult<SysRole> getPageList(Integer pageNo, Integer pageSize, SysRole sysRole);
	
	JsonResult addRole(SysRole sysRole);
	
	JsonResult editRole(SysRole sysRole);
	
	JsonResult delRoles(List<String> idList);
	
	JsonResult getRoleById(String id);

	List<SysRole> getAll();
}
